package org.beetl.sql.core.kit;

/**
 * 代替 Constants 类. <BR>
 * create time : 2017-05-26 14:32
 *
 * @author luoyizhu@gmail.com
 */
//org.beetl.sql.clazz.kit.AutoSQLEnum
public enum ConstantEnum {

//    SELECT_BY_ID("$_gen_old_2_selectById"),
    SELECT_BY_TEMPLATE("$_gen_old_2_selectByTemplate"),
    SELECT_COUNT_BY_TEMPLATE("$_gen_old_2_selectCountByTemplate"),
//    DELETE_BY_ID("$_gen_old_2_delById"),
    SELECT_ALL("$_gen_old_2_selectAll"),
    UPDATE_ALL("$_gen_old_2_updateAll"),
    UPDATE_BY_ID("$_gen_old_2_updateById"),
    UPDATE_TEMPLATE_BY_ID("$_gen_old_2_updateTemplateById"),
    INSERT("$_gen_old_2_insert"),//beetlsql2
    INSERT_TEMPLATE("$_gen_old_2_insertTemplate"),//beetlsql2
    DELETE_TEMPLATE_BY_ID("$_gen_old_2_deleteTemplateById"),
    LOCK_BY_ID("$_gen_old_2_selectByIdForUpdate"),
//	EXIST_BY_ID("$_gen_old_2_existById"),
    ;

    private final String classSQL;

    ConstantEnum(String classSQL) {
        this.classSQL = classSQL;
    }

    public String getClassSQL() {
        return classSQL;
    }
}
